#include <iostream>

int main()
{
    //int data = 12345;

    int src_key = 321;

    int server_data = 12664;

    int a = server_data ^ src_key;

    std::cout << a << std::endl;
    return 0;
} 